
<template>
  <img v-if="imgUrl" style="max-width: 63px;max-height: 42px" :src="imgUrl" alt="">
  <img v-if="logoUrl" style="max-width: 40px;max-height: 20px" :src="logoUrl" alt="">
</template>
<script setup>
import {onMounted, ref, watch} from 'vue'
const props = defineProps({ scope: {
  default: ''
} })
const imgUrl = ref('')
const logoUrl = ref('')
watch(() => { return props.scope.imageUrl }, () => {
  // 数据变化之后的回调函数
  imgUrl.value = props.scope.imageUrl
}, { immediate: true, deep: false })
watch(() => { return props.scope.logoUrl }, () => {
  // 数据变化之后的回调函数
  logoUrl.value = props.scope.logoUrl
}, { immediate: true, deep: false })

onMounted(() => {

})
</script>

<style scoped>

</style>
